#if !GENERATOR

using System;
using System.ComponentModel;
using System.Diagnostics;
using System.Xml.Serialization;
using System.Collections.Generic;

using YF.OneNote;


namespace YF.OneNote.DataTypes
{
  public partial class Column: NotesNode
  {
  
	public Column()
    {
      
	}

    

	[XmlAttribute]
    public override string ID
    {
      get
      {
        return "!!!No ID!!!";
      }
      set
      {
      }
    }

	
    protected override bool UpdateContents(NotesNode newContent, List<INotesChange> changes)
    {
	  Column item = (Column)newContent;
      bool changed = false;

      
      if (index != item.index)
      {
        changed = true;
		
		NotesPropertyChange propertyChange = new NotesPropertyChange();

        propertyChange.ChangeType = NoteChangeType.Changed;
        propertyChange.OldValue = indexField;
        propertyChange.NewValue = item.indexField;
        propertyChange.PropertyName = "index";
        changes.Add(propertyChange);

		
        indexField = item.indexField;
      }

      if (isLocked != item.isLocked)
      {
        changed = true;
		
		NotesPropertyChange propertyChange = new NotesPropertyChange();

        propertyChange.ChangeType = NoteChangeType.Changed;
        propertyChange.OldValue = isLockedField;
        propertyChange.NewValue = item.isLockedField;
        propertyChange.PropertyName = "isLocked";
        changes.Add(propertyChange);

		
        isLockedField = item.isLockedField;
      }

      if (width != item.width)
      {
        changed = true;
		
		NotesPropertyChange propertyChange = new NotesPropertyChange();

        propertyChange.ChangeType = NoteChangeType.Changed;
        propertyChange.OldValue = widthField;
        propertyChange.NewValue = item.widthField;
        propertyChange.PropertyName = "width";
        changes.Add(propertyChange);

		
        widthField = item.widthField;
      }


      return changed;
    }
  }
}

#endif